﻿<!DOCTYPE html>
<html lang="en">
<#include "../include/resource-head.ftl"/>
<#assign active="zfbList"/>
<body>
<#include "../include/common-top.ftl"/>
<div class="main-container" id="main-container">
    <div class="main-container-inner">
    <#include "../include/common-menu.ftl"/>
        <div class="main-content">
            <div class="page-content">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="form-search">
                            <form role="form" class="form-inline clearfix"  id="form2"  action="">
                                <div class="input-group col-xs-3">
                                    <span class="input-group-addon">支付宝信用等级</span>
                                    <select class="form-control" name="zfblevel">
                                        <option value="">--请选择--</option>
                                        <option value="700-950" <#if zfblevel! == '650-700'>selected</#if>>700-950</option>
                                        <option value="650-700" <#if zfblevel! == '650-700'>selected</#if>>650-700</option>
                                        <option value="600-650" <#if zfblevel! == '600-650'>selected</#if>>600-650</option>
                                        <option value="550-600" <#if zfblevel! == '550-600'>selected</#if>>550-600</option>
                                        <option value="350-550" <#if zfblevel! == '350-550'>selected</#if>>350-550</option>
                                    </select>
                                </div>

                                <div class="input-group col-xs-3">
                                    <span class="input-group-addon">支付宝失信状态</span>
                                    <select class="form-control" name="zfbstatus">
                                        <option value="">--请选择--</option>
                                        <option value="失信" <#if zfbstatus! == '失信'>selected</#if>>失信</option>
                                        <option value="未失信" <#if zfbstatus! == '未失信'>selected</#if>>未失信</option>
                                    </select>
                                </div>

                                <div class="input-group col-xs-3">
                                    <span class="input-group-addon">姓名</span>
                                    <input type="text" class="form-control" name="name" value="${name!}">
                                </div>

                                <div class="input-group col-xs-3">
                                    <span class="input-group-addon">身份证</span>
                                    <input type="text" class="form-control" name="card" value="${card!}">
                                </div>

                                <div class="input-group col-xs-3">
                                    <span class="input-group-addon">电话号码</span>
                                    <input type="text" class="form-control" name="phone" value="${phone!}">
                                </div>
                            </form>
                            <div class="form-tool btn-group">
                                <button class="btn btn-sm btn-success" form="form2">
                                    <i class="icon-search"></i>搜索
                                </button>
                            </div>
                        </div>
                        <div class="table-responsive">
                            <table id="sample-table-1" class="table table-striped table-bordered table-hover">
                                <thead>
                                <tr>
                                    <th>姓名</th>
                                    <th>身份证号码</th>
                                    <th>手机号</th>
                                    <th>单位</th>
                                    <th>支付宝信用等级</th>
                                    <th>支付宝失信状态</th>

                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                <#list pageInfo.list as item>
                                <tr>
                                    <td>${item.name!}</td>
                                    <td>${item.card!}</td>
                                    <td>${item.phone!}</td>
                                    <td>${item.unit!}</td>
                                    <td>${item.zfblevel!}</td>
                                    <td>${item.zfbstatus!}</td>

                                    <td>
                                    <#if sessionUser.type=='admin'>
                                        <div class="visible-md visible-lg hidden-sm hidden-xs btn-group">
                                            <a class="btn btn-xs btn-danger" href="javascript:if(confirm('确定要删除吗？')){location.href = '/person/del/${item.id}'}">删除</a>
                                            <a class="btn btn-xs btn-primary" href="/person/detail/zfb/${item.id}">详情</a>
                                        </div>
                                    </#if>
                                    </td>
                                </tr>
                                </#list>
                                </tbody>
                            </table>
                        <#include "../include/table-page.ftl"/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

<#include "../include/resource-script.ftl"/>
</html>

